<div class="cr-{{ ptype }}-uploader" id="upload{{ hash_id }}">
    <iframe src="/pic_frame?ptype={{ ptype }}&amp;hash_id={{ hash_id }}" frameborder="0" scrolling="no" class="cr-{{ptype}}-iframe"></iframe>
    
    {% if pic_id != '0' %}
    <div class="cr-{{ ptype }}-success" onmouseover="pic_show(this.id);" onmouseout="pic_hide(this.id);" id="us{{ hash_id }}" style="display:block;">
        <img src="/temp_pic?pic_id={{ pic_id }}">
        <a class="cr-delete-img" href="javascript:delTmb('{{ hash_id }}');" style="display: none;">删除</a>
    {% else %}
    <div class="cr-{{ ptype }}-success" onmouseover="pic_show(this.id);" onmouseout="pic_hide(this.id);" id="us{{ hash_id }}">
    {% end %}
    </div>

    <span class="cr-{{ ptype }}-loadding" id="loadding{{ hash_id }}">上传中 ...</span>
    <div class="cr-{{ ptype }}-hide" id="hide{{ hash_id }}">
        {% if pic_id != '0' %}
        <input type="hidden" name="temp_img" value="{{ pic_id }}-{{ ptype }}">
        {% else %}
        <input type="hidden" name="temp_img" value="0-{{ ptype }}">
        {% end %}
    </div>
</div>
